'use strict'

import Router from 'express'
import UserController from '../controllers/UserController.js'

const usersRouter = new Router()

usersRouter.post('/users', UserController.create)
usersRouter.get('/users', UserController.getAll)

export default usersRouter